package pers.exercise.DecoratorPattern.impl;

import pers.exercise.DecoratorPattern.TextNode;

public class SpanNode implements TextNode {

    private String text;

    @Override
    public String getText() {
        return  "<span>"+text+"</span>";
    }

    @Override
    public void setText(String text) {
        this.text = text;
    }
    
    
}